package graphAlg;

import lombok.*;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;


@Data



public class Graph {

    public HashMap<Integer,Node> nodes;
    public HashSet<Edge> edges;
    public Graph() {
        this.nodes = new HashMap<>();
        this.edges = new HashSet<>();
    }
    public Graph(HashMap<Integer,Node> nodes, HashSet<Edge> edges) {
        this.nodes = nodes;
        this.edges = edges;
    }
}
